# $Id$
# Maintainer: Antonio Rojas <arojas@archlinux.org>

pkgname=tslib
pkgver=1.13
pkgrel=1
pkgdesc="Touchscreen Access Library"
arch=(i686 x86_64)
url="https://github.com/kergoth/tslib"
license=(GPL2)
depends=(glibc)
makedepends=()
source=("https://github.com/kergoth/tslib/releases/download/$pkgver/$pkgname-$pkgver.tar.xz")
sha256sums=('b381279f2d6ad6acb80cfc4852860853b7bcd1a9440821e9fe920c33f4e4f8da')

build() {
  cd $pkgname-$pkgver
  ./configure --prefix=/usr --sysconfdir=/etc
  make
}

package() {
  cd $pkgname-$pkgver
  make DESTDIR="$pkgdir" install
}
